
#ifndef __WRITE_MESH_H__
#define __WRITE_MESH_H__

#include "M3GWriter.hpp"
#include <Windows.h>
#include "MQPlugin.hpp"
#include <vector>

unsigned int writeMesh (m3g::M3GWriter* writer, MQObject mq_obj, 
		unsigned int vertex_buffer_index,
		const std::vector<unsigned int>& index_indices,
		const std::vector<unsigned int>& appearance_indices);

#endif

